package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.leadingsoft.pwxk.model.AuditMessages;
import com.leadingsoft.pwxk.repository.AuditMessagesRepository;
import com.leadingsoft.pwxk.services.AbstractService;

@Component
public class AuditMessagesServiceImpl extends AbstractService<AuditMessages> {

	@Autowired
	AuditMessagesRepository auditMessagesRepository;

	@Override
	public void saveAll(List<AuditMessages> models) {
		auditMessagesRepository.saveAll(models);
	}

	@Override
	public void deleteAll() {
		auditMessagesRepository.deleteAll();
	}

	@Override
	public void save(AuditMessages model) {
		auditMessagesRepository.save(model);
	}

}
